// 树结构
export interface TreeStruct {
  value: string | number;
  parentId: string | number | null;
  label: string;
  children?: TreeStruct[];
  [key: string]: unknown;
}

// 树节点基础类型
interface BaseTreeNode {
  nodeId: string | number;
  parentId: string | number | null;
  name: string;
}

// 树节点拓展类型
export interface TreeNode extends BaseTreeNode {
  [key: string]: unknown;
}
